package uit.jee.lib.dto;

/**
 *
 * @author ngloc_it
 */
public class WriterDTO {
    public final static String WRITER_ID = "MaBaiViet";
    public final static String WRITER_READER_ID = "MaGocGia";
    public final static String WRITER_BOOK_ID = "MaSach";
    public final static String WRITER_TITLE = "TieuDe";
    public final static String WRITER_CONTENTS = "NoiDung";
    public final static String WRITER_DATE = "NgayViet";

    private String writerId;
    private String readerId;
    private String bookId;
    private String title;
    private String contents;
    private String date;

    public WriterDTO() {
    }

    public WriterDTO(String writerId, String readerId, String bookId, String title, String contents, String date) {
        this.writerId = writerId;
        this.readerId = readerId;
        this.bookId = bookId;
        this.title = title;
        this.contents = contents;
        this.date = date;
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        this.contents = contents;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getReaderId() {
        return readerId;
    }

    public void setReaderId(String readerId) {
        this.readerId = readerId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getWriterId() {
        return writerId;
    }

    public void setWriterId(String writerId) {
        this.writerId = writerId;
    }

    public boolean isValidate() {
        return true;
    }
}
